package com.pktechan.manage.service.impl;


import com.pktechan.manage.base.BaseMapper;
import com.pktechan.manage.base.BaseServiceImpl;
import com.pktechan.manage.dao.CommissionGenerateFlowMapper;
import com.pktechan.manage.entity.CommissionGenerateFlow;
import com.pktechan.manage.service.CommissionGenerateFlowService;
import com.pktechan.manage.vo.CommissionGenerateFlowVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("commissionGenerateFlowService")
public class CommissionGenerateFlowServiceImpl extends BaseServiceImpl<CommissionGenerateFlow> implements CommissionGenerateFlowService {

    @Autowired
    private CommissionGenerateFlowMapper commissionGenerateFlowMapper;

    /**
     * 由业务类实现
     *
     * @return
     */
    @Override
    public BaseMapper<CommissionGenerateFlow> getBaseMapper() {
        return commissionGenerateFlowMapper;
    }

    /**
     * 查询客户佣金流水管理列表
     * @param commissionGenerateFlowVo
     * @return
     */
    @Override
    public List<CommissionGenerateFlowVo> getCommissionGenerateFlowVoList(CommissionGenerateFlowVo commissionGenerateFlowVo) {
        return commissionGenerateFlowMapper.getCommissionGenerateFlowVoList(commissionGenerateFlowVo);
    }
}
